getNextRow() Method |
This method returns the row object of the next row, which succeeds the row object passed as a parameter.
Syntax
xgridId.getNextRow( oRow )
Parameters
Parameter | Description |
---|---|
oRow | Row object; required. The method returns the row object that succeedsoRow. |
Return Value
Returns a row object. For details, see row object. Returns null when the row is not found.
Remarks
One of the properties of the rowObject isrow. This property contains the HTML node of the row. However, this HTML is not always available for all rows. For some rowObjectsrowandrowFreezeColumnare null.
In combination withgetFirstRow(),getPreviousRow(),getRow(),getNextRow(), andgetLastRow(), it is possible to traverse through all the rows. All these methods return a row object that can be used as a parameter for this method.
Example
To view an example, see getFirstRow().
See Also
xgrid, getFirstRow(), getPreviousRow(), getRow(), getLastRow(), row object, cell object